package com.zuo.demo01.dao;


import com.zuo.demo01.pojo.Links;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface LinkMapper {

    public List<Links> findAll(Map<String,Integer> map);

    public List<Links> getAll();

    public int count();

    public int insert(Links links);

    public int delete(int id);

    public int update(Links links);

}
